<?php

namespace App\Library\Requests\Base;

use Illuminate\Foundation\Http\FormRequest;

class BaseDTORequest extends FormRequest
{
    protected string $No = 'serialNumber';

    public function authorize(): bool
    {
        return true;
    }

    public function rules(): array
    {
        return [

        ];
    }

    public function messages(): array
    {
        return [
            $this->No . '.regex' => sprintf(__('com.numTip'), $this->No),
        ];
    }

    public function attributes(): array
    {
        return [];
    }
}
